//
//  WebsiteDataMoedel.m
//  YZZX
//
//  Created by Easaa on 15/4/16.
//  Copyright (c) 2015年 Easaa. All rights reserved.
//

#import "WebsiteDataMoedel.h"

@implementation WebsiteDataMoedel

-(id)initWithDictionaryData: (NSDictionary *)WebsiteDataModel
{
    self=[super init];
    if(self)
    {
        [self setDataforViewAndCache:WebsiteDataModel];
    }

    return self;
}

-(void)setDataforViewAndCache:(NSDictionary *)DicModle
{
   //暂时不做缓存
    
    self.host       = [DicModle objectForKey:@"host"];          //网站网址 +写入缓存使用
    self.image_url  = [DicModle objectForKey:@"image_url"];     //分类列表头像
    self.site_id    = [DicModle objectForKey:@"site_id"];       //site  ID
    self.site_name  = [DicModle objectForKey:@"site_name"];     //分类列表名字

    
}


@end
